$(document).ready(function(){
	$.getJSON('http://tj.fanwe.com/license.php?callback=?',function(data){
		if(data.lisence!='')
		{
			var str = "域名正常";
		}
		else
		{
			var str = "域名解析异常";
		}
		var version = CURRENT_VERSION;
		if(parseFloat(data.version)>parseFloat(version))
		{
			$("#version_tip").html("<span style='color:#f30;'>&nbsp;&nb</span>"+"&nbsp;"+str);
		}
		else
		{
			$("#version_tip").html("<span style='color:#f30;'>最新版本"+version+"</span>"+"&nbsp;"+str);
		}
	});	
});